package com.example.mypotiota_si.Activity;

import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.example.mypotiota_si.R;

public class WoDe_SheZhiActivity extends AppCompatActivity {
    TextView wd_gx;
    ImageView wd_gy_fh;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_wo_de__she_zhi);
        //隐藏标题栏
        ActionBar actionBar=getSupportActionBar();
        if (actionBar!=null){
            actionBar.hide();
        }
        wd_gx=findViewById(R.id.wd_gx);
        wd_gy_fh=findViewById(R.id.wd_sz_fh);
        wd_gx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(WoDe_SheZhiActivity.this,"好棒！当前是最新版本~",Toast.LENGTH_SHORT).show();
            }
        });
        wd_gy_fh.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
